package com.test.nacos.conf;

import com.alibaba.nacos.api.annotation.NacosProperties;
import com.alibaba.nacos.spring.context.annotation.EnableNacos;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * <p>Description:  </p>
 *
 * @author zhuyoulong
 * @date 2020-12-25
 */
@SpringBootApplication
@EnableNacos(globalProperties = @NacosProperties(serverAddr = "172.16.0.31:18848"))
public class NacosConfigApplication {
    public static void main(String[] args) {
        SpringApplication.run(NacosConfigApplication.class, args);
    }
}
